import request from '@/utils/request'
const api_teacher_name = '/edu/service/front/teacher'
export default {
  // 分页查询讲师列表
  getTeacherList(page, limit) {
    return request({
      url: `${api_teacher_name}/getTeacherFrontList/${page}/${limit}`,
      method: 'get',
    })
  },
  // 根据讲师Id查询讲师详情
  getTeacherInfo(teacherId) {
    return request({
      url: `${api_teacher_name}/getTeacherFrontInfo/${teacherId}`,
      method: 'get',
    })
  }
}